<?php
if(isset($_REQUEST['hdn_page'])){
	$v_page=intval($_REQUEST['hdn_page']);
}else{
	$v_page=1;
}
$v_cate_id = 0;
if(isset($_REQUEST['hdn_cate_id'])){
	$v_cate_id = intval($_REQUEST['hdn_cate_id']);
} 
$v_cate = "";
if(isset($_REQUEST['hdn_cate'])){
	$v_cate = $_REQUEST['hdn_cate'];
} 
$v_agency_id = 0;
if(isset($_REQUEST['hdn_agency_id'])){
	$v_agency_id = intval($_REQUEST['hdn_agency_id']);
}
$v_agency = "";
if(isset($_REQUEST['hdn_agency'])){
	$v_agency = $_REQUEST['hdn_agency'];
}
$v_qa_id = 0;
if(isset($_REQUEST['hdn_qa_id'])){
	$v_qa_id = intval($_REQUEST['hdn_qa_id']);
} 
$v_top_id  =   0;
if(isset($_REQUEST['hdn_top_id'])){
	$v_top_id = intval($_REQUEST['hdn_top_id']);
} 
$v_bottom_id = 0;
if(isset($_REQUEST['hdn_bottom_id'])){
	$v_bottom_id = intval($_REQUEST['hdn_bottom_id']);
} 
$v_exception_qa_id  = 0;
if(isset($_REQUEST['hdn_exception_qa_id'])){
	$v_exception_qa_id = intval($_REQUEST['hdn_exception_qa_id']);
}
$v_direction  = 'TOP';
if(isset($_REQUEST['hdn_direction'])){
	$v_direction = trim($_REQUEST['hdn_direction']);
}
if ($v_qa_id >0) {
	if(_is_sqlserver()){
		$sql = "Onegate_QAQuestionGetSingle " . $v_qa_id;
		$ado_conn->SetFetchMode(ADODB_FETCH_NUM);
		$arr_single_onegate_qa = $ado_conn->GetRow($sql); 
	}
}?>